import requests

from com.yh.utils.utils import like_host


class User():
    #likeshop登录接口
    def login(self,account, password,client):
        login = {
            "account": account,
            "password": password,
            "client": client
        }
        resp = requests.post(like_host + '/api/account/login', data=login)
        # 返回结果
        return resp